package com.zhuang.visitor.double_dispatch;

/**
 * @Classname Animal
 * @Description 双分派
 * @Date 2021/3/27 17:11
 * @Created by dell
 */

public class Animal {
    public void accept(Execute execute){
        execute.execute(this);
    }
}
